package com.boy.service;

import com.boy.entity.Permission;
import com.baomidou.mybatisplus.extension.service.IService;
import com.boy.entity.dto.PermissionDto;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author whd
 * @since 2024-05-23
 */
public interface PermissionService extends IService<Permission> {

    Permission getByPath(String path);

    List<PermissionDto> findAll();

}
